package com.phone.filter;

import javax.servlet.*;
import java.io.IOException;

/**
 * Created by tisen on 2017/8/4.
 */
public class RecordFilter implements Filter {
    private int count;
    @Override
    public void init(FilterConfig filterConfig) throws ServletException {
        String param = filterConfig.getInitParameter("count");
        count = Integer.parseInt(param);
    }

    @Override
    public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {

    }

    @Override
    public void destroy() {

    }
}
